package org.aeon.message.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.aeon.annotation.Incomplete;
import org.aeon.entity.ChatMessage;

import java.io.Serial;

/**
 * @author MissingAeon
 * @date 2024/1/26 8:49
 * @description
 */
@Getter
@Setter
@ToString
@Incomplete
public class GroupChatResponseMessage extends ResponseMessage {
    @Serial
    private static final long serialVersionUID = -8419350889966292352L;
    private ChatMessage chatMessage;

    public void setMessage(ChatMessage chatMessage) {
        this.chatMessage = chatMessage;
    }

    @Override
    public int getMessageType() {
        return GroupChatResponseMessage;
    }
}
